home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / prog / load1_1a.zip / LOAD.SRC < prev   
Text File  |  1992-03-01  |  6KB  |  219 lines

  1. ***********************************************************
  2. * LOAD v1.1a installation program.  Last updated 03/01/92 *
  3. ***********************************************************
  4. wThis installation for LOAD was written in its own enhanced batch language.
  5. wYou will discover that it serves as an excellent example of what LOAD can
  6. wdo for any software distributor.  Freely customize and use LOAD's sample,
  7. pinstallation, source file (LOAD.SRC).
  8. aSDr=`StartDrv`
  9. aSDi=`StartDir`
  10. aSDr:=`SDr`:
  11. g010`SDi`
  12. aSDi\=`SDi`\
  13. g020
  14. :010\
  15. aSDi\=\
  16. :020
  17. aSo=`SDr:``SDi`
  18. aSo\=`SDr:``SDi\`
  19. aQDr=`SDr:`
  20. aQDi=`SDi`
  21. aShoNfo=N
  22. b
  23. :MenuC:MenuChange
  24. e
  25. aBT=No
  26. iBT=To start your computer, must you insert a disk (Yes/No; <ENTER>=`BT`)?
  27.  
  28. g103`BT`
  29. gMenuC
  30. :103N:103No
  31. aBT=N
  32. g104
  33. :103Y:103Yes
  34. aBT=Y
  35. :104
  36. aDT=No
  37. iDT=Do you wish to install to a floppy disk (Yes/No; <ENTER>=`DT`)?
  38.  
  39. g100`DT`
  40. gMenuC
  41. :100N:100No
  42. aDT=N
  43. aDDr=C
  44. g110
  45. :100Y:100Yes
  46. aDT=Y
  47. g105`SDr`
  48. aDDr=B
  49. g110
  50. :105B
  51. aDDr=A
  52. :110
  53. iDDr=Enter the destination drive letter (<ENTER>=`DDr`):
  54. cDDr-:
  55. aDDr:=`DDr`:
  56. g120`DT`
  57. :120N:120No
  58. aDDi=LOAD
  59. ;Enter the destination directory (<ENTER>=\`DDi`): \
  60. iDDi=
  61. aDDi=\`DDi`
  62. cDDi-\
  63. g130`DDi`
  64. aDDi\=`DDi`\
  65. g140
  66. :130
  67. aDDi=\
  68. aDDi\=\
  69. g140
  70. :120Y:120Yes
  71. aDDi=\
  72. aDDi\=\
  73. :140
  74. aDe=`DDr:``DDi`
  75. aDe\=`DDr:``DDi\`
  76. g170`BT`
  77. g160`DDi`
  78.  
  79. wThe following destination directory will be created:
  80. p   `De\`
  81. oMD `De`
  82.  
  83. aOpt=No
  84. iOpt=Do you wish to specify a different destination (Yes/No; <ENTER>=`Opt`)?
  85. g150`Opt`
  86. :150Y:150Yes
  87. gMenuC
  88. :150N:150No
  89. :160\
  90. :170Y
  91. aOpt=I
  92. :Menu
  93. e
  94. w▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  95. w▓▓▓▓▓▓▓▓╒══════════════════════════════════════════════╕▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  96. w▓▓▓▓▓▓▓▓│ LOAD v1.1a  I N S T A L L A T I O N  M E N U │░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  97. w▓▓▓▓▓▓▓▓╘══════════════════════════════════════════════╛░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  98. w▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  99. w▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  100. w▓╒═══ >>> Options <<< ═══╕▓▓▓╒═════════════════════════════════════════════╕▓▓▓
  101. w▓│                       │░░▓│ This installation was written using LOAD's  │░░▓
  102. w▓│ C..Change destination │░░▓│ enhanced batch language.  Notice that user- │░░▓
  103. w▓│ I..Install LOAD       │░░▓│ friendliness can be accomplished without    │░░▓
  104. w▓│                       │░░▓│ taking much disk space.  For registration   │░░▓
  105. w▓│ Q..Quit               │░░▓│ information, quit, and enter "LOAD /?".     │░░▓
  106. w▓╘═══════════════════════╛░░▓╘═════════════════════════════════════════════╛░░▓
  107. w▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░▓▓▓░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▓
  108. w▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓
  109.  
  110. wDestination path:
  111. w   `De\`
  112.  
  113. g200`Opt`
  114. aOpt=Q
  115. :200Q
  116. aDef=Quit
  117. g210
  118. :200I
  119. aDef=Install
  120. g210
  121. :200C
  122. aDef=Change
  123. :210
  124. iOpt=Enter the letter of your choice (<ENTER>=`Def`):
  125.  
  126. gMenu`Opt`
  127. gMenu
  128. :MenuI:MenuInstall
  129. e
  130. wMake sure the `DDr:` disk contains 360k of available space.  Insert
  131. pthe disk containing LOAD's distribution files in the `SDr:` drive.
  132. aCmd1=COPY LOAD.* `De`
  133. aCmd2=COPY LOAD.DOC PRN
  134. aCmd3=COPY LOAD.INV PRN
  135. g310`BT`
  136. wYou will need to enter the following commands at the `SDr:`> prompt.
  137. wPress the <PRINT-SCREEN> key to copy them to your printer.  At the `SDr:`>
  138. wprompt, type and enter:
  139.  
  140. g305`DDi`
  141. w   `DDr:`
  142. w   MD `DDi`
  143. w   `SDr:`
  144. :305\
  145. w   `Cmd1`
  146. w   `Cmd2`
  147. w   `Cmd3`
  148. w   `DDr:`
  149. w   CD `DDi`
  150. g320
  151. :310N
  152. o`Cmd1`
  153. p
  154. :315
  155. e
  156. aOpt=Yes
  157. iOpt=Do you wish to print the manual (Yes/No; <ENTER>=`Opt`)?
  158.  
  159. g330`Opt`
  160. g315
  161. :330Y:330Yes
  162. pTurn your printer on, and load it with 30 pages of paper.
  163. o`Cmd2`
  164. o`Cmd3`
  165. g340
  166. :330N:330No
  167. wThe main documentation can be obtained by printing a file called LOAD.DOC.
  168. wThe registration invoice can be obtained by printing a file called LOAD.INV.
  169. :340
  170. aQDr=`DDr:`
  171. aQDi=`DDi`
  172. :320
  173.  
  174. pReady to return to the installation menu!
  175. aShoNfo=Y
  176. aOpt=Q
  177. gMenu
  178. :MenuQ:MenuQuit
  179. e
  180. wYou won't find anything which is smaller, faster, or more flexible than
  181. wLOAD.  It is the perfect solution for a software distributor's
  182. winstallation needs.  See for yourself!  Before you cease your evaluation,
  183. wplease examine some of the interesting features of LOAD:
  184.  
  185. w   - A small EXE, less than 7.9k.
  186. w   - A fast, powerful, easy to learn, compact, interpreted language.
  187. w   - Independant execution of commands, unlike normal DOS batch language
  188. w     which returns to the calling batch file each time a command is executed.
  189. w   - All commands supported by DOS.
  190. w   - Screen handling including optional, automatic, page breaks.
  191. w   - Direct and user assigned, string variables.
  192. w   - Nested macros.
  193. w   - Full, conditional and unconditional branching.
  194. w   - Two preset variables, STARTDRV and STARTDIR, which indicate what
  195. w     drive and directory LOAD was executed from.
  196. w   - A trace command for debugging purposes.
  197. w   - A preset source file name, LOAD.SRC, which LOAD automatically looks
  198. w     for when executed.  This file name can be over-ridden from the command
  199. w     line.
  200. w   - An optional share flag for LANs.
  201. g500`ShoNfo`
  202. p
  203. e
  204. wThis version of LOAD is distributed with the following files:
  205.  
  206. w   LOAD.DOC  - The main documentation.  Please read!
  207. w   LOAD.INV  - A printable invoice.
  208. w   LOAD.EXE  - The interpreter.
  209. w   LOAD.SRC  - An install program for LOAD.  Actually written using LOAD's
  210. w               enhanced batch language.  This is a good example of what
  211. w               LOAD can do for you.
  212.  
  213. wEnjoy, and thanks for supporting the shareware concept.
  214. g510`BT`
  215. o`QDr`
  216. oCD `QDi`
  217. :510Y
  218. :500N
  219.